package com.woniu.common.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.woniu.common.annotation.Excel;
import com.woniu.common.core.domain.BaseEntity;

/**
 * 草药处方对象 dms_herbal_prescription_record
 * 
 * @author ruoyi
 * @date 2024-10-21
 */
public class DmsHerbalPrescriptionRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 金额 */
    @Excel(name = "金额")
    private BigDecimal amount;

    /** 处方名称 */
    @Excel(name = "处方名称")
    private String name;

    /** 治疗方式 */
    @Excel(name = "治疗方式")
    private String therapy;

    /** 治疗详情 */
    @Excel(name = "治疗详情")
    private String therapyDetails;

    /** 医疗建议 */
    @Excel(name = "医疗建议")
    private String medicalAdvice;

    /** 配对数量 */
    @Excel(name = "配对数量")
    private Integer pairNum;

    /** 注册ID */
    @Excel(name = "注册ID")
    private Integer registrationId;

    /** 频率 */
    @Excel(name = "频率")
    private Integer frequency;

    /** 使用方式 */
    @Excel(name = "使用方式")
    private Integer usageMeans;

    /** 类型 */
    @Excel(name = "类型")
    private Integer type;

    /** 创建员工ID */
    @Excel(name = "创建员工ID")
    private Integer createStaffId;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setAmount(BigDecimal amount) 
    {
        this.amount = amount;
    }

    public BigDecimal getAmount() 
    {
        return amount;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setTherapy(String therapy) 
    {
        this.therapy = therapy;
    }

    public String getTherapy() 
    {
        return therapy;
    }
    public void setTherapyDetails(String therapyDetails) 
    {
        this.therapyDetails = therapyDetails;
    }

    public String getTherapyDetails() 
    {
        return therapyDetails;
    }
    public void setMedicalAdvice(String medicalAdvice) 
    {
        this.medicalAdvice = medicalAdvice;
    }

    public String getMedicalAdvice() 
    {
        return medicalAdvice;
    }
    public void setPairNum(Integer pairNum) 
    {
        this.pairNum = pairNum;
    }

    public Integer getPairNum() 
    {
        return pairNum;
    }
    public void setRegistrationId(Integer registrationId) 
    {
        this.registrationId = registrationId;
    }

    public Integer getRegistrationId() 
    {
        return registrationId;
    }
    public void setFrequency(Integer frequency) 
    {
        this.frequency = frequency;
    }

    public Integer getFrequency() 
    {
        return frequency;
    }
    public void setUsageMeans(Integer usageMeans) 
    {
        this.usageMeans = usageMeans;
    }

    public Integer getUsageMeans() 
    {
        return usageMeans;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setCreateStaffId(Integer createStaffId) 
    {
        this.createStaffId = createStaffId;
    }

    public Integer getCreateStaffId() 
    {
        return createStaffId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("amount", getAmount())
            .append("name", getName())
            .append("therapy", getTherapy())
            .append("therapyDetails", getTherapyDetails())
            .append("medicalAdvice", getMedicalAdvice())
            .append("pairNum", getPairNum())
            .append("registrationId", getRegistrationId())
            .append("frequency", getFrequency())
            .append("usageMeans", getUsageMeans())
            .append("type", getType())
            .append("createStaffId", getCreateStaffId())
            .toString();
    }
}
